<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../lib/jquery/jquery-1.11.1.js" ></script>
		<script type="text/javascript">
			function f1(){
//				$('.apple').css('background-color','blue');
//				$('span').css('background-color','blue');
//				$('#username').css('background-color','yellow');
//				$('*').css('background','red');
				$('p,span,#username').css('background-color','red');
			}
		</script>
	</head>
	<body>
		<h2>基本选择器(灵感来源于css样式选择器)</h2>
        <input type="text" name="username" value="xiaoqiang" id="username" /><br />
        <p>Today is Sunday</p>
        <div class="apple">We are studying jquery</div>
        <span>this is beijing</span><br />

        <input type="button" value="触发" onclick="f1()" />
	</body>
</html>
